package io.renren.modules.hos.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.hos.entity.CommentEntity;
import io.renren.modules.hos.vo.CommentVo;
import io.renren.modules.hos.vo.params.CommentParam;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author ryf
 * @email 2559228480@qq.com
 * @date 2021-11-10 16:10:52
 */
public interface CommentService extends IService<CommentEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 评论
     * @param commentParam
     * @return
     */
    boolean comment(CommentParam commentParam);

    /**
     * 根据药品id查询评论信息
     */
    List<CommentVo> selectCommentsByMedicineId(Long medicineId);
}

